<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<span th:text="${errorInfo}"></span>
<form action="/user/login">
  用户：<input type="text" name="userName">
  密码：<input type="password" name="pwd">
  <input type="submit" value="登录">
</form>
</body>
</html>